Skip to content

Add Support for Final Fields #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

jrosen081
Copy link
Contributor

Closes #116

This adds support for final fields (so they are only get).

2 parts:

  1. New update to the macro which defaults to a non-final field
  2. Updates translator to define whether a field is final or not

@DougGregor DougGregor merged commit 07b0c54 into swiftlang:main Oct 26, 2024
11 checks passed
@DougGregor
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java2Swift: Handle final fields
2 participants